<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link rel="stylesheet" href="https://apps.bdimg.com/libs/jquerymobile/1.4.5/jquery.mobile-1.4.5.min.css">
		<script src="https://apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
		<script src="https://apps.bdimg.com/libs/jquerymobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
		<title>信息详情</title>
		<script type="text/javascript">
			/* document.addEventListener('plusready', function(){
   			//console.log("所有plus api都应该在此事件发生后调用，否则会出现plus is undefined。")
   			
   		}); */
		</script>
		<!-- 图标 -->
		<link rel="stylesheet" href="font-awesome-4.7.0/css/font-awesome.css" />
		<!-- 控制头部和底部导航样式 -->
		<link rel="stylesheet" type="text/css" href="css/style.css"/>
		<script src="js/login/register.js"></script>
		<script>
			//若用户未登录，则需先登录
			var logstatu = sessionStorage['LoginName'];
			console.log("name is "+name);
			console.log("statu is "+logstatu);
			if (!logstatu) {
				location.href = 'c_login.html';
				console.log(logstatu);
			}
			//获取登录用户信息
			var user = getUser();
		</script>
		<script>$.mobile.ajaxEnabled = false;</script>
	</head>
	<style type="text/css">
		#modify{
			width: 100%;
			background-color: rgba(0,0,0,0);
			border: 0;
			font-size: 1rem;
			color: #FFaa00;
			text-align: center;
		}
	</style>
	<body>

		<div data-role="page">
			<div data-role="header" data-position="fixed" id="opcitybg">
				<a id="headop" href="#" data-role="button" data-rel="back" data-icon="carat-l" data-iconpos="notext"></a>
				<h1>信息详情</h1>
			</div>
			​
			<div data-role="main" class="ui-content">


				<ul data-role="listview" data-inset="true">
					<script type="text/javascript">
						document.write(
							'<li data-icon="edit"><a href="#">用户名<p>'+user.name+'</p></a></li>'+
							'<li data-icon="edit"><a href="#">邮箱<p>'+user.email+'</p></a></li>'+
							'<li data-icon="edit"><a href="#">电话<p>'+user.tel+'</p></a></li>'+
							'<li data-icon="edit"><a href="#">出生日期<p>'+user.bday+'</p></a></li>'+
							'<li data-icon="edit"><a href="#">地址<p>'+user.addr[0].province+user.addr[0].detail+'</p></a></li>'
						);
					</script>

				</ul>

			</div>



			<div data-role="footer" data-position="fixed" id="footerbg">

				<p name="modify"  id="modify">修改信息</p>

			</div>
		</div>
		<script type="text/javascript">
		
			
			$("#modify").click(function(){
				location.href="c_personalModify.html";
			});
		</script>


	</body>
</html>
